package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.PrizeDrawActivityTypeEnum;
import com.sc.nft.sup.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * (ActivityBasics)表实体类
 *
 * @author 王伟成
 * @since 2023-09-12 17:33:36
 */
@Data
@TableName("sc_activity_basics")
@ApiModel(value = "sc_activity_basics 对象", description = "")
public class ActivityBasics extends SuperEntity implements Serializable {
    @ApiModelProperty(value = "活动名称")
    private String nameActivity;

    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "开奖时间")
    private Date lotteryTime;

    @ApiModelProperty(value = "开奖时间字符串形式,以20230912的形式进行保存")
    private String lotteryTimeVar;

    @ApiModelProperty(value = "排序,由大到小")
    private Integer sort;

    @ApiModelProperty(value = "封面图片")
    private String coverImg;

    @ApiModelProperty(value = "规则图片")
    private String ruleImg;

    @ApiModelProperty(value = "开奖结果id")
    private Long lotteryResultId;

    @ApiModelProperty("开奖号码")
    private String lotteryDrawResult;

    @ApiModelProperty(value = "开奖状态 0:未开 1:已开")
    private Integer lotteryStatus;

    @ApiModelProperty(value = "道具id")
    private Long propId;

    @ApiModelProperty(value = "道具名称")
    private String propName;

    @ApiModelProperty(value = "类型 1:竞猜活动 2:瓜分活动 3:连续签到活动 4:累计签到活动")
    private PrizeDrawActivityTypeEnum type;

    @ApiModelProperty(value = "发布状态 0:未发布 1:发布")
    private Integer status;

    @ApiModelProperty(value = "奖池预留(百分比)")
    private BigDecimal prizePoolReserve;

    @ApiModelProperty(value = "初始奖金")
    private BigDecimal initPoolReserve;

    @ApiModelProperty("是否结算  0:未结算 1:已结算")
    private Boolean isSettle;

    @ApiModelProperty(value = "是否关联藏品")
    private Boolean isRelease;

    @ApiModelProperty(value = "是否开启注册时间限制")
    private Boolean isRegisterTime;

    @ApiModelProperty(value = "注册开始时间")
    private Date registerBeginTime;

    @ApiModelProperty(value = "注册结束时间")
    private Date registerEndTime;


}
